<template>
	<view>
		<u-popup v-model="show" mode="center" width="600rpx" border-radius="20" @close="popupClose">
			<view class="label u-p-30">
				<image class="u-width-100" :src="url" mode="widthFix" :show-menu-by-longpress="true"></image>
				<!-- <u-image width="100%" height="100%" mode="widthFix" :src="url"></u-image> -->
				<view class="u-m-t-15 u-text-center u-font-34 u-font-bold">请扫码或识别捐赠。</view>
			</view>
		</u-popup>
	</view>
</template>

<script>
	export default{
		props: ['popupShow','url'],
		data(){
			return{
				show: this.popupShow
			}
		},
		watch:{
		    popupShow: {
		    	deep: true,
		    	handler(val) {
		    		this.show = val
		    	}
		    }
		},
		methods:{
			onChooseLabel(val){
				this.$emit("onChooseLabel",val)
			},
			popupClose(){
				this.$emit("popupClose")
			}
		}
	}
</script>

<style>	
</style>